<#assign basePath=request.contextPath />
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="${basePath }/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="${basePath }/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="${basePath }/css/animate.min.css" rel="stylesheet">
    <link href="${basePath }/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg">
    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div>
            <div class="text-center">
		        <h1 class="logo-name">H+</h1>
		    </div>
            <h3>后台登录</h3> ${msg!}
            <form class="m-t" role="form" action="${basePath }/login" method="post">
	            <div class="form-group">
	                <input type="text" name="username" id="username" class="form-control" placeholder="用户名" required="true">
	            </div>
	            <div class="form-group">
	                <input type="password" name="password" id="password" class="form-control" placeholder="密码" required="true">
	            </div>
	            <div class="row">
	            	<div class="col-md-8">
			            <div class="form-group" style="padding-right: 0px;">
			            	<input type="text" name="validateCode" id="validateCode" class="form-control " placeholder="验证码" required="true"/>
			            </div>
			        </div>
			        <div class="col-md-3" style="padding-left: 0px;">
			        	<img class="" src="${basePath }/captcha" alt="" onclick="this.src ='${basePath}/captcha?t=' + Math.random();"/>
			        </div>
	           	</div>
	            <button  id="btn" class="btn btn-primary block full-width m-b">登 录</button>
	
	        </form>
        </div>
    </div>
    <script src="${basePath }/js/jquery.min.js?v=2.1.4"></script>
    <script src="${basePath }/js/bootstrap.min.js?v=3.3.6"></script>
    <script type="text/javascript">
    	$(function(){
    		$(document).keydown(function(e){ 
    		    if (!e)  
    		    	e = window.event;  
    		    if ((e.keyCode || e.which) == 13) { 
    		    	$("button").click();  
    		    }  
    		});
    	});
    </script>
</body>
</html>
